home *** CD-ROM | disk | FTP | other *** search
/ Delphi Programmer's Power Pack / Delphi Volume 1.iso / s_to_z / vpe_130 / delphi / vpedemo / unit3.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-15  |  747b  |  42 lines

  1. unit Unit3;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls, VPENGINE, SysUtils;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     OKButton: TBitBtn;
  12.     ProductName: TLabel;
  13.     Version: TLabel;
  14.     Copyright: TLabel;
  15.     Label1: TLabel;
  16.     Label2: TLabel;
  17.     Label3: TLabel;
  18.     Label4: TLabel;
  19.     Label5: TLabel;
  20.     Label6: TLabel;
  21.     procedure FormCreate(Sender: TObject);
  22.   private
  23.     { Private declarations }
  24.   public
  25.     { Public declarations }
  26.   end;
  27.  
  28. var
  29.   AboutBox: TAboutBox;
  30.  
  31. implementation
  32.  
  33. {$R *.DFM}
  34.  
  35. procedure TAboutBox.FormCreate(Sender: TObject);
  36. begin
  37.   Version.Caption := Format('Version %d.%d', [1, 2]);
  38. end;
  39.  
  40. end.
  41.  
  42.